package com.miyake.dsp.otdr;

public class FiberProperties {
	private double wavelength;
	private double bsc;
	private double ior;
	private double attenuation;
	private double linBsc;
	private double linAttenuation;
	
	public FiberProperties(double wavelength, double bsc, double ior, double attenuation) {
		super();
		this.wavelength = wavelength;
		this.bsc = bsc;
		this.linBsc = Math.pow(10.0, bsc / 10.0);
		this.ior = ior;
		this.attenuation = attenuation;
		this.linAttenuation = Math.pow(10.0,  attenuation / 10.0);
	}
	public double getBsc() {
		return bsc;
	}
	public void setBsc(double bsc) {
		this.bsc = bsc;
		this.linBsc = Math.pow(10.0, bsc / 10.0);
	}
	public double getIor() {
		return ior;
	}
	public void setIor(double ior) {
		this.ior = ior;
	}
	public double getAttenuation() {
		return attenuation;
	}
	public void setAttenuation(double attenuation) {
		this.attenuation = attenuation;
		this.linAttenuation = Math.pow(10.0,  attenuation / 10.0);
	}
	public double getLinBsc() {
		return linBsc;
	}
	public void setLinBsc(double linBsc) {
		this.linBsc = linBsc;
	}
	public double getLinAttenuation() {
		return linAttenuation;
	}
	public void setLinAttenuation(double linAttenuation) {
		this.linAttenuation = linAttenuation;
	}
	public double getWavelength() {
		return wavelength;
	}
	public void setWavelength(double wavelength) {
		this.wavelength = wavelength;
	}
	
	
}
